[XEND] Fix many typos with VM interface to XenAPI
authorAlastair Tse <atse@xensource.com>
Thu, 5 Oct 2006 17:48:54 +0000 (18:48 +0100)
committerAlastair Tse <atse@xensource.com>
Thu, 5 Oct 2006 17:48:54 +0000 (18:48 +0100)
commitb2b451d4cd680e7a5328b329a80e27d6b68e4696
tree63d10adf1147570d2be5d1a68f85218bfcad640e
parent7e63b4bf7e034fa6e9610795f50597dfc3ef31b0
[XEND] Fix many typos with VM interface to XenAPI

1. Python XMLRPC does not allow integer keys to structs.
2. Typo with on_suspend and on_preserve
3. Changed all tuples in constants to lists so .index() works.
4. Made get_vcpus_utils to return seconds of CPU time.
5. Fix flawed login in VM.get_record()
tools/python/xen/xend/XendAPI.py
tools/python/xen/xend/XendAPIConstants.py
tools/python/xen/xend/XendDomainInfo.py